//Naming
Name Navalgun_15.5cm_3rdYearType
ShortName navalgun_15.5cm_3rdyeartype
ItemID 11971
Description MAX HP:5000_Navalgun 15.5cm 3rdYearType Shell[HE]_Navalgun 15.5cm 3rdYearType Shell[AA]
//Visuals
Icon Navalgun_15.5cm_3rdYearType
Model cvts.155mm_3rdYearType
Texture Navalgun_15.5cm_3rdYearType
//Third Person Camera Distance
CameraDistance 12.5
//Throttle
MaxThrottle 0
MaxNegativeThrottle 0
//Steering modifiers
TurnLeftSpeed 0
TurnRightSpeed 0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -43 -8 -43
WheelPosition 1 -43 -8 43
WheelPosition 2 43 -8 43
WheelPosition 3 43 -8 -43
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Shell
//Time between shots in 1/20ths of seconds
PlaceTimePrimary 160
ShootDelayPrimary 210
ReloadTimePrimary 210
PlaceTimeSecondary 160
ShootDelaySecondary 210
ReloadTimeSecondary 210
BulletSpeed 7.0
BulletSpread 4
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary False
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 32 18 25 turret 
ShootPointSecondary 32 18 0 turret 
ShootPointPrimary 32 18 -25 turret 
ShootParticlesPrimary hugeexplosion 10 0 0
ShootParticlesPrimary largeexplode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 8 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary explode 9 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 8 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesPrimary cloud 9 0 0
ShootParticlesSecondary hugeexplosion 10 0 0
ShootParticlesSecondary largeexplode 8 0 0
ShootParticlesSecondary explode 8 0 0
ShootParticlesSecondary explode 8 0 0
ShootParticlesSecondary explode 8 0 0
ShootParticlesSecondary explode 8 0 0
ShootParticlesSecondary explode 8 0 0
ShootParticlesSecondary explode 8 0 0
ShootParticlesSecondary explode 9 0 0
ShootParticlesSecondary explode 9 0 0
ShootParticlesSecondary explode 9 0 0
ShootParticlesSecondary explode 9 0 0
ShootParticlesSecondary explode 9 0 0
ShootParticlesSecondary explode 9 0 0
ShootParticlesSecondary cloud 8 0 0
ShootParticlesSecondary cloud 8 0 0
ShootParticlesSecondary cloud 8 0 0
ShootParticlesSecondary cloud 8 0 0
ShootParticlesSecondary cloud 8 0 0
ShootParticlesSecondary cloud 8 0 0
ShootParticlesSecondary cloud 9 0 0
ShootParticlesSecondary cloud 9 0 0
ShootParticlesSecondary cloud 9 0 0
ShootParticlesSecondary cloud 9 0 0
ShootParticlesSecondary cloud 9 0 0
ShootParticlesSecondary cloud 9 0 0
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 0
//Inventory Slots
CargoSlots 0
ShellSlots 0
MissileSlots 8
//Driver and passenger positions
Driver 0 28 0 -360 360 -10 75
RotatedDriverOffset 20 0 0
Passengers 0
AllowAllAmmo False
AddAmmo navalgun_15.5cm_3rdyeartype_shell[he]
AddAmmo navalgun_15.5cm_3rdyeartype_shell[aa]
AddAmmo dummyammo
//Sounds
StartSound 
StartSoundLength 0
EngineSound 
EngineSoundLength 0
PlaceSoundPrimary PlaceSound1
ShootSoundPrimary Navalgun_155mm_3rdYearType_fire2
ReloadSoundPrimary Navalgun_155mm_3rdYearType_reload
PlaceSoundSecondary None
ShootSoundSecondary Navalgun_155mm_3rdYearType_fire
ReloadSoundSecondary None
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 parts_tankturret 2 parts_tankbarrel 40 iron
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
//AddDye 0 gray
//Health and collision
SetupPart core 5000 -83 -10 -48 144 62 96
BulletDetection 5
IsExplosionWhenDestroyed true
PlaceableOnLand true
PlaceableOnSponge false
CollisionDamageEnable false
CollisionDamageThrottle 0.75
CollisionDamageTimes 1